projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187d261
)
x11: Notify on surface scale changes
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 16 Jan 2021 20:21:36 +0000
(15:21 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 16 Jan 2021 20:22:46 +0000
(15:22 -0500)
Emit property notification when the surface scale
changes.
gdk/x11/gdksurface-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdksurface-x11.c
b/gdk/x11/gdksurface-x11.c
index 207c34e419e824a7a25dd0b7901bfc3eaa8fda6a..feecf917a24c39a37323ea999c3141bc070d3ea6 100644
(file)
--- a/
gdk/x11/gdksurface-x11.c
+++ b/
gdk/x11/gdksurface-x11.c
@@
-2013,6
+2013,8
@@
_gdk_x11_surface_set_surface_scale (GdkSurface *surface,
surface->height * impl->surface_scale);
gdk_surface_invalidate_rect (surface, NULL);
+
+ g_object_notify (G_OBJECT (surface), "scale-factor");
}
void